//
//  DYTableViewCell.h
//  ZhangqiuForum
//
//  Created by 帝云科技 on 2018/1/17.
//  Copyright © 2018年 diyunkeji. All rights reserved.
//

#import <UIKit/UIKit.h>

#define dyCellMargin BILIWIDTH(12.5)

#pragma mark - cls___DYTableViewCellItem
@class DYModel;
@interface DYTableViewCellItem : NSObject

@property (nonatomic, strong) NSString *cellIdentifier;
@property (nonatomic, strong) DYModel *cellModel;
@property (nonatomic, assign) CGFloat cellHeight;

@property (nonatomic, strong) NSString *title;
@property (nonatomic, strong) NSString *imageName;

@property (nonatomic, weak, readonly) Class cellClass;

+ (instancetype)item;

@end


#pragma mark - cls___DYTableViewCell
@interface DYTableViewCell : UITableViewCell

@property (nonatomic, assign) BOOL hideSeparatorLabel;
@property (nonatomic, assign) CGFloat sideMargin;

@property (nonatomic, strong) DYTableViewCellItem *item;

- (void)dy_initUI;

@end
